.dropdown-menu > li > label {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 20px;
  color: #333333;
  white-space: nowrap;
}
.dropdown-menu > li > label {
  cursor: pointer;
}
.dropdown-menu > li > input[type="radio"],
.dropdown-menu > li > input[type="checkbox"] {
  position: absolute;
  left: -9999em;
}
.dropdown-menu.bullet {
  margin-top: 8px;
}
.dropdown-menu.bullet:before {
  content: '';
  display: inline-block;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #ccc;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: -7px;
  left: 9px;
}
.dropdown-menu.bullet:after {
  content: '';
  display: inline-block;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #ffffff;
  position: absolute;
  top: -6px;
  left: 10px;
}
.dropdown-menu.bullet.pull-right:before {
  left: auto;
  right: 9px;
}
.dropdown-menu.bullet.pull-right:after {
  left: auto;
  right: 10px;
}
.dropdown-menu.bullet.pull-top {
  margin-top: 0;
  margin-bottom: 8px;
}
.dropdown-menu.bullet.pull-top:before {
  top: auto;
  bottom: -7px;
  border-top: 7px solid #ccc;
  border-top-color: rgba(0, 0, 0, 0.2);
  border-bottom: none;
}
.dropdown-menu.bullet.pull-top:after {
  top: auto;
  bottom: -6px;
  border-top: 6px solid #ffffff;
  border-bottom: none;
}
.dropdown-menu.bullet.pull-center:before {
  left: auto;
  right: 50%;
  margin-right: -6px;
}
.dropdown-menu.bullet.pull-center:after {
  left: auto;
  right: 50%;
  margin-right: -5px;
}
.dropdown-menu.bullet.pull-middle {
  margin-right: 8px;
}
.dropdown-menu.bullet.pull-middle:before {
  top: 50%;
  margin-top: -6px;
  left: 100%;
  right: auto;
  margin-right: -7px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid #ccc;
  border-left-color: rgba(0, 0, 0, 0.2);
  border-right: none;
}
.dropdown-menu.bullet.pull-middle:after {
  top: 50%;
  margin-top: -5px;
  left: 100%;
  right: auto;
  margin-right: -6px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #ffffff;
  border-right: none;
}
.dropdown-menu.bullet.pull-middle.pull-right {
  margin-left: 8px;
  margin-right: 0;
}
.dropdown-menu.bullet.pull-middle.pull-right:before {
  left: 0;
  margin-left: -7px;
  margin-right: 0;
  border-right: 7px solid #ccc;
  border-right-color: rgba(0, 0, 0, 0.2);
  border-left: none;
}
.dropdown-menu.bullet.pull-middle.pull-right:after {
  left: 0;
  margin-left: -6px;
  margin-right: 0;
  border-right: 6px solid #ffffff;
  border-left: none;
}
.dropdown-menu.bullet.pull-middle.pull-center:before {
  border: 0;
  display: none;
}
.dropdown-menu.bullet.pull-middle.pull-center:after {
  border: 0;
  display: none;
}
.form-search .dropdown-menu > li > label,
.form-inline .dropdown-menu > li > label {
  padding: 3px 20px;
}

.dropdown-menu > li > label:hover,
.dropdown-submenu > li > label:hover {
  color: #ffffff;
  background-color: #0088cc;
}
.dropdown-menu > li > label:focus,
.dropdown-submenu > li > label:focus,
.dropdown-menu > li > input:focus ~ label,
.dropdown-submenu > li > input:focus ~ label {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.dropdown-menu > li > input:checked ~ label {
  color: #ffffff;
  text-decoration: none;
  outline: 0;
  background-color: #0081c2;
  background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
  background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
  background-image: -o-linear-gradient(top, #0088cc, #0077b3);
  background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

.dropdown-menu > li > input:disabled ~ label,
.dropdown-menu > li > input:disabled:focus ~ label,
.dropdown-menu > li > input:disabled ~ label:hover {
  background-image: none;
  background-color: transparent;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  cursor: default;
  color: #555555;
  opacity: 0.65;
  filter: alpha(opacity=65);
}
